<?php

use yii\db\Schema;
use yii\db\Migration;

class m141216_084853_yiisession extends Migration
{
    public function up()
    {
		$sql = <<<FINE
		CREATE TABLE yii_session
		(
			id CHAR(40) NOT NULL PRIMARY KEY,
			expire INTEGER,
			data BLOB
		)
FINE;
		$this->execute($sql);
    }

    public function down()
    {
        $this->dropTable('yii_session');
    }
}
